package com.king.eventbusdemo;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;

import com.king.eventbusdemo.entity.EventBusBean;

import org.greenrobot.eventbus.EventBus;

/**
 * @author: King
 * @project: EventBusDemo
 * @package: com.king.eventbusdemo
 * @date: 2019/3/25
 * @time: 15:34
 */
public class OrtherCallResult extends Activity {

    @Override
    protected void onCreate( Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_orther_call_result);
    }

    public void sendMessage(View view){
        EventBus.getDefault().post(new EventBusBean("1111","222"));
        finish();
    }
}
